
package com.qf.model;

public class Contact {
	/*
	 * cid` int(11) NOT NULL AUTO_INCREMENT,
  `cname` varchar(50) DEFAULT NULL,
  `ctel` varchar(15) DEFAULT NULL,
  `caddress` varchar(50) DEFAULT NULL,
  `cremark` varchar(50) DEFAULT NULL,
  `uid` int(11) DEFAULT NULL,
  `tid` int(11) DEFAULT NULL,
  PRIMARY KEY (`cid`)
	 */
	private int cid;
	private String cname;
	private String ctel;
	private String caddress;
	private String cremark;
	private int  uid;
	private int tid;
	public Contact() {
		
		super();
		//TODO 
			
	}
	public Contact(int cid, String cname, String ctel, String caddress, String cremark, int uid, int tid) {
		super();
		this.cid = cid;
		this.cname = cname;
		this.ctel = ctel;
		this.caddress = caddress;
		this.cremark = cremark;
		this.uid = uid;
		this.tid = tid;
	}
	@Override
	public String toString() {
		return "Contact [cid=" + cid + ", cname=" + cname + ", ctel=" + ctel + ", caddress=" + caddress + ", cremark="
				+ cremark + ", uid=" + uid + ", tid=" + tid + "]";
	}
	public int getCid() {
	
		return cid;
	}
	public void setCid(int cid) {
	
		this.cid = cid;
	}
	public String getCname() {
	
		return cname;
	}
	public void setCname(String cname) {
	
		this.cname = cname;
	}
	public String getCtel() {
	
		return ctel;
	}
	public void setCtel(String ctel) {
	
		this.ctel = ctel;
	}
	public String getCaddress() {
	
		return caddress;
	}
	public void setCaddress(String caddress) {
	
		this.caddress = caddress;
	}
	public String getCremark() {
	
		return cremark;
	}
	public void setCremark(String cremark) {
	
		this.cremark = cremark;
	}
	public int getUid() {
	
		return uid;
	}
	public void setUid(int uid) {
	
		this.uid = uid;
	}
	public int getTid() {
	
		return tid;
	}
	public void setTid(int tid) {
	
		this.tid = tid;
	} 
	

}

	